import request from '@/utils/request'

// 查询用户出游列表
export function listCycingjoin(query) {
  return request({
    url: '/userInfo/cycingjoin/list',
    method: 'get',
    params: query
  })
}

// 查询用户出游详细
export function getCycingjoin(id) {
  return request({
    url: '/userInfo/cycingjoin/' + id,
    method: 'get'
  })
}

// 新增用户出游
export function addCycingjoin(data) {
  return request({
    url: '/userInfo/cycingjoin',
    method: 'post',
    data: data
  })
}

// 修改用户出游
export function updateCycingjoin(data) {
  return request({
    url: '/userInfo/cycingjoin',
    method: 'put',
    data: data
  })
}

// 删除用户出游
export function delCycingjoin(id) {
  return request({
    url: '/userInfo/cycingjoin/' + id,
    method: 'delete'
  })
}
